package com.xz.xzutils.module.xzmybatislog;

import com.intellij.execution.filters.ConsoleFilterProvider;
import com.intellij.execution.filters.Filter;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.project.Project;
import org.jetbrains.annotations.NotNull;

/**
 * <p>
 *
 * </p>
 *
 * @author DONG.WANG17@HAND-CHINA.COM
 * @since 2025-01-14 19:57
 */
public class XzMybatisLogConsoleFilterProvider implements ConsoleFilterProvider {
    private static final Logger LOGGER = Logger.getInstance(XzMybatisLogConsoleFilterProvider.class);
    @Override
    public Filter @NotNull [] getDefaultFilters(@NotNull Project project) {
        LOGGER.info("getDefaultFilters");
        return new Filter[]{XzMyBatisLogConsoleFilter.getInstance(project)};
    }
}
